commonlibsse_ng\re\h/
hkRotation.rs1use crate::re::hkMatrix3::hkMatrix3;
2
3#[repr(C, align(16))]
10#[derive(Debug, Clone, Copy)]
11pub struct hkRotation {
12 pub __base: hkMatrix3,
15}
16
17const _: () = {
19 assert!(core::mem::offset_of!(hkRotation, __base) == 0x0);
20 assert!(core::mem::size_of::<hkRotation>() == 0x30);
21 assert!(core::mem::align_of::<hkRotation>() == 0x10);
22};
23
24impl hkRotation {
25 #[inline]
27 pub fn new() -> Self {
28 Self {
29 __base: hkMatrix3::new(), }
31 }
32}
33
34impl Default for hkRotation {
35 #[inline]
36 fn default() -> Self {
37 Self::new()
38 }
39}